package com.example.stock.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class StockTradeVo implements Serializable {

    /**
     * 股票代码
     */
    private String tsCode;

    /**
     * 1持仓 0空仓
     */
    private Short holdStatus;
    /**
     * 交易额
     */
    private Double money;

    /**
     * 交易时间
     */
    private LocalDateTime holdTime;

    /**
     * 价格
     */
    private Double price;

    /**
     * 盈亏
     */
    private Double profit;

    /**
     * 佣金
     */
    private Double charge;

    /**
     * 计算结果
     */
    private Double calcResult;

    private String name;

    private String strategy;

}